package com.primforce.respository.sys.service;

import com.primforce.respository.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author tangjiakai
 * @Date 2024/12/18 11:29
 * @Description: TODO
 */
@FeignClient(name = "user-repository", url = "http://127.0.0.1:8088/repository/user")
public interface UserService {

    @GetMapping("/userList")
    List<User> userList();
}
